<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">  
<title>专利协同服务网络平台</title>
<link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/select-ui.min.js"></script>
<script type="text/javascript">
$(document).ready(function(e) {
	$(".select").uedSelect({
		width : 120
	});
});
</script>
</head>
<body>
	<div class="place">
	    <span>位置：</span>
	    <ul class="placeul">
	    <li><a href="#">首页</a></li>
	    <li><a href="#">字典管理</a></li>
	    <li><a href="#">单位分类</a></li>
	    </ul>
    </div>
    
    <div class="rightinfo">
	    <div class="tools" style="margin-top:10px;">
	    	<ul class="toolbar">
	       		 <li class="click"><span><img src="${pageContext.request.contextPath}/images/t01.png" /></span>
	       		 <a href="${pageContext.request.contextPath}/rootAdmin/saveSchoolUI.do" class="tablelink">添加</a></li>
	        </ul>
	    </div>
	    <table class="tablelist">
	    	<thead>
		    	<tr>
			        <th>选择</th>
			        <th>编码</th>
			        <th>单位</th>
			        <th>备注</th>
			        <th>操作</th>
		        </tr>
	        </thead>
		    <tbody>
		    	<c:forEach items="${pageModel.list}" var="school">
		    		<tr>
				        <td><input name="id" type="checkbox" value="${school.id}" /></td>
				        <td>${school.typeCode}</td>
				        <td>${school.description}</td>
				        <td>${school.remarks}</td>
				        <td><a href="${pageContext.request.contextPath}/rootAdmin/updateSchoolUI.do?schoolId=${school.id}" class="tablelink">[修改]</a>
		        	</tr> 
		    	</c:forEach>
	        </tbody>
	    </table>
	    <!-- 
			引入分页菜单
		-->
		<%@include file="../../../common/page.jsp"%>
    </div>
</body>
</html>